/**
 * 
 */
package com.ctn.information.data.retriever;

import java.util.List;


/**
 * @author Zale
 *
 */
public interface Retriever<T> {
	public static final String RETRIEVER_NEWS_TITLE = "newstitle";
	public static final String RETRIEVER_NEWS_CONTENT = "newscontent";
	public static final String RETRIEVER_NEWS_COMMENT = "newscomment";
	public static final String RETRIEVER_MENU = "menu";
	public static final String RETRIEVER_AD = "ad";
	
	
	//URL
	public static final String URL_MAIN_PAGE_AD ="";
	public static final String URL_INFO_PAGE_AD ="";
	public static final String URL_ONE_MENU ="";
	public static final String URL_SEC_MENU  ="";
	public static final String URL_NEWS_CONTENT = "";
	public static final String URL_NEWS_TITLE ="";
	public static final String URL_TITLE_QUERY = "";
	
	T getById(Long id) throws Exception;
	List<T> getAll(boolean asc) throws Exception;
}
